﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Collections.ObjectModel;
using System.IO;

namespace AzureDrive
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        GridLayout layoutWorker;
        public MainWindow()
        {
            InitializeComponent();            
            layoutWorker = new GridLayout(gridWork);
            layoutWorker.LoadFoldersLayout();
        }
        private void buttonViewUnload_Click(object sender, RoutedEventArgs e)
        {
            layoutWorker.CollaspFolderView();
        }

        private void buttonViewLoad_Click(object sender, RoutedEventArgs e)
        {
            layoutWorker.LoadFoldersLayout();
        } 
    }
  
}
